package com.maimao.model.user.sys.vo;

import com.maimao.model.user.sys.Role;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author MaoLin Wang
 * @date 2020/12/6 4:38 下午
 */
@AllArgsConstructor
@NoArgsConstructor
public class RoleEx extends Role {

    private String createUserName;
    private String updateUserName;

    private List<Integer> resourceIds;


    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public String getUpdateUserName() {
        return updateUserName;
    }

    public void setUpdateUserName(String updateUserName) {
        this.updateUserName = updateUserName;
    }

    public List<Integer> getResourceIds() {
        return resourceIds;
    }

    public void setResourceIds(List<Integer> resourceIds) {
        this.resourceIds = resourceIds;
    }

    @Override
    public String toString() {
        return "RoleEx{" +
                "createUserName='" + createUserName + '\'' +
                ", updateUserName='" + updateUserName + '\'' +
                ", resourceIds='" + resourceIds + '\'' +
                '}';
    }
}
